home *** CD-ROM | disk | FTP | other *** search
/ .net (French) 1996 November / .net Magazine (FR) - Issue 01 - Nov 1996.iso / mac / Outils / Counter / Version Changes for 1.2.3 < prev   
Text File  |  1996-03-21  |  11KB  |  206 lines

  1. *** 1.2.3 Changes
  2.  
  3. Threading will no longer ever be a problem.  Use of the Thread Manager has been removed.  It didn't make it any faster anyway.  In fact it made it quite a bit slower.  I've found that one should only employ threading in a CGI if, and only if, the whole CGI process takes more than 5 seconds or so.  Count WWWebula was around 1-2 seconds.  It was just way too much hassle for too little good (none).
  4.  
  5. A few memory problems have been removed.  One problem involved writing a short string to some random place in memory, though you've probably never experienced a bug caused by this.
  6.  
  7. Added limited balloon help to the File Menu's items.  (Only limited, since the Apple Guide answers most questions.)
  8.  
  9. You can no longer manually check SIVC information via the "Current Version Info..." menu item if you don't already have an open TCP connection.  This stops crashing on machines running MacTCP or MacPPP whenever you aren't connected to your Internet Service Provider.
  10.  
  11. Fixed a problem with spurious crashes on 68K Macs.
  12.  
  13. Please note all the changes in 1.2.2, except the threading fix, as it is completely unimportant now.
  14.  
  15. *** 1.2.2 Changes (Not Completely Publicly Released)
  16.  
  17. Major threading fix.  I don't know what the symptoms were, but there was a major hole in threading, I don't even know if it screwed anything up or became a bug, but it's fixed.
  18.  
  19. All files being created/written/read are now REAL Macintosh files.  Thus they have a creator and file type.  In other words, for the programmers out there, I'm using the Macintosh File Manager now instead of ANSI C file calls.  This also means that the CGI will be more reliable.  This was accomplished with the help of Charles Wilson of Metrowerks and Thurman Gillespy III.
  20.  
  21. This should completely fix the problem with web pages being reset to zero hits, and also data file indexes losing the first letter in counter.dat  (I know I've said this before, but I feel confident this time ... really).
  22.  
  23. Speedier.  I've optimized some of the code to run a little faster.  I've also recompiled it using CodeWarrior 8.
  24.  
  25. The counter should now work properly on 68000 Macintoshes.
  26.  
  27. Now, if the counter can't find the "boo.gif" or "failed.gif" in the normal digit directory (custom or default) it will look for them in the same folder as the counter as a last resort.
  28.  
  29. *** 1.2 and 1.2.1 Changes 
  30.  
  31. Gif digit sizes are now automatically figured out on the fly.  There is no
  32. longer a size setting in the preferences dialog box.  The way it does this is by looking at the size of digit "zero" ... in other words, all digits in a given set (i.e., odometer, doghouse, bembo, etc), must be the same size.  They can be different sizes from other sets... but digits 1-9 must be the
  33. same size as digit 0. 
  34.  
  35. I've created an Apple Guide to help you set up the CGI for you Web Server. 
  36. To access it, run the CGI application and look underneath the Balloon Help
  37. menu, then select "Count WWWebula Guide".  Note:  In order to view this Apple Guide on pre-7.5 systems, you need to get Apple Guide 2.0  (for those with 7.5 or later, get 2.0 anyway as it adds speed increases and bug fixes).  Apple Guide 2.0 is available from Apple at:  <ftp://ftp.info.apple.com/Apple.Support.Area/Developer_Services/System_Software_Extensions/Apple_Guide_Authoring_Kit/Apple_Guide_2.0.sit.hqx>.
  38.  
  39. Moved some global variables to local.  This may not seem like much, but I
  40. discovered that during Threading, the global variables were sometimes being
  41. changed by one thread, which affected all the other threads.  So, moving them to local variables, each thread has it's own information as it should.  It should also speed up the counter slightly on PowerPCs (though probably not noticeable to the human eye). 
  42.  
  43. There was a problem with WebStar occasionally returning a "Descriptor Not
  44. Found (-1701)" error.  This is caused when Count WWWebula does not get enough memory allocated to it.  I increased the minimum memory and preferred memory requirements by 50K each. 
  45.  
  46. Fixed a few memory leaks.  These appeared after repeatedly opening and closing the preferences dialog box without quitting the CGI. 
  47.  
  48. Changed the preferences dialog box to be a modeless.  Now other events can
  49. occur in the background while you are setting preferences.  In doing this I
  50. fixed several other memory leaks on accident. 
  51.  
  52. Slimmed down the code a lot.  Removed some redundancies. 
  53.  
  54. Fixed a problem with broken gif images when the arguments to the CGI were too long. 
  55.  
  56. Rewrote all of the data file code (counter.dat).  It was using ANSI C file
  57. commands to create/open/write to the data file.  This was causing various
  58. problems with indexing items in the text of the document.  You probably
  59. noticed this in the form of only a partial line, instead of "main 6" it would show up as "ain 6".  I rewrote it all to now use the File Manager toolbox routines.  The counter should be much smarter in this area now.  Another benefit is the data file now have a groovy icon.  (A bat taking a byte of a text document, notice the teeth marks?). 
  60.  
  61. While I was at it, I went ahead and rewrote the error logging code to use the File Manager toolbox calls as well (it also sports the new icon as above). 
  62.  
  63. *** 1.1 Changes 
  64.  
  65. Now you can set the number of digits you wish to be in the counter.  (i.e.,
  66. for those of you who liked the preceding zeros in the odometer type digits,
  67. they're back). 
  68.  
  69. Changed the format for specifying fonts, (NOTE: IT IS STILL BACKWARDS
  70. COMPATIBLE WITH THE OLDER SYNTAX, YOU DON'T HAVE TO CHANGE YOUR WEB PAGES
  71. FROM OLDER VERSIONS). 
  72.  
  73. Transparent counter digits are now supported. 
  74.  
  75. It should be somewhat faster, I recompiled it under CodeWarrior 7. 
  76.  
  77. The CGI no longer has to quit when you save your preferences. 
  78.  
  79. You can now specify from what domains (ip addresses, domain names, etc), you
  80. don't want the counter to increment when viewing your pages.  This is helpful if you want to keep a fairly accurate account of visitors, and you don't want your "html debugging" visits to fool the counter into thinking that you are someone important who needs to be counted.  Also this works if you only want people outside of your company or school to be counted as viewing a page... just specify a partial domain and ip address, instead of a full one. 
  81.  
  82. If you use Internet Config 1.1 or later, you can open the About Count
  83. WWWebula dialog and click on almost all the names and items, and the
  84. application will send the appropriate URL for more information to the proper
  85. client, as specified by your Internet Config preferences. 
  86.  
  87. The application/cgi, now has Simple Internet Version Control (SIVC)
  88. capabilities.  You may be familiar with this from working with Anarchie 1.6.0
  89. and FTPd 3.0. ... More information available in the documentation. 
  90.  
  91. *** 1.0.2 Changes 
  92.  
  93. Fixes some incompatibilities with NCSA's Mosaic Browser, WebSurf, and
  94. NetShark, among a few others. 
  95.  
  96. Symptoms of this looked like "Access Denied" responses even when you had your
  97. restrictions set up properly.  This is due to several browsers not sending
  98. the "Referral" data to the CGI.  This also caused many lines containing only
  99. "Access Denied to Host:   " followed by a blank line in the Count WWWebula
  100. Error Log. 
  101.  
  102. Another you might have noticed appeared as strange results in the Counter.dat
  103. files.  Several indecies would appear for a single page, with only the first
  104. letter of the index removed.  For instance, I noticed I had 2 indexes for my
  105. graphical page.  One index had a near proper count, with the name
  106. "graphical".  Another had a count of only 7, with a name of "raphical" or
  107. "aphical". 
  108.  
  109. Restrictions in the preferences dialog are no longer case sensitive. 
  110. Counts can now go as high as 99,999,999 (almost 100 million).  There is no
  111. longer a setting for the Maximum number of digits shown.  This is because
  112. there is no more padding the counters with zeros on the left.  If the count
  113. is "1" then only one digit will be in your counter.  If the count is "100"
  114. then there will only be 3 digits in your counter. 
  115.  
  116. Memory requirements are down to 512K preferred, 368K minimum, slightly higher
  117. for PPCs.  (this is *somewhat* untested.  .. if you experience problems, try
  118. increasing the memory) 
  119.  
  120. *** 1.0.1 Changes 
  121.  
  122. Count WWWebula Error Log now displays the time/date the error occurred. 
  123. Something that should've been done a long time ago. 
  124.  
  125. *** 1.0 Changes (get a pen ready, lots of new stuff): 
  126.  
  127. The software is now Shareware.  Commercial companies must pay the
  128. registration fee if they are going to use this software.  Individuals,
  129. educational institutions, and non-profit organizations need not pay the
  130. registration fee (you'll get better technical support if you do, though). 
  131. Had to switch over to "path arguments" .. the search args didn't allow enough
  132. string text to go through in one event, so now you must call the cgi with a
  133. "$" instead of a "?" like so: <img
  134. src=/cgi/counter/counter.acgi$stuff/morestuff> 
  135.  
  136. Memory requirements are WAY down.... 512K minimum, 1024K preferred. 
  137.  
  138. Groovy Preferences Dialog.  You now no longer need ResEdit to change site
  139. specific information on the CGI. 
  140.  
  141. New documentation. 
  142.  
  143. Counter home page complete with FAQ and added documentation located at
  144. http://uts.cc.utexas.edu/~grgcombs/htmls/counter.html 
  145.  
  146. The CGI REALLY quits this time after a period of inactivity (this is set in
  147. the prefs dlog). 
  148.  
  149. You can now specify how many digits wide your counter will be (defaults to 6
  150. digits). 
  151.  
  152. You can run the CGI with absolutely NO restrictions if you REALLY want to: 
  153. "A Bad Thing" (tm) 
  154.  
  155. By popular demand, you can specify a different set of GIFs to use as digits
  156. on the fly.  So now you only need one running CGI for many pages, and for
  157. many different digit sets. 
  158.  
  159. More bug fixing. 
  160.  
  161. *** 1.0a9 Changes: 
  162.  
  163. Big bug fix.  Definitely fixed the Error Type 11 error this time. 
  164. Definitely.  Well, at least I hope so ;-) 
  165.  
  166. *** 1.0a8 Changes: 
  167.  
  168. Pretty Icon now. 
  169.  
  170. More bug fixing.  More robust. 
  171.  
  172. *** 1.0a7 Changes: 
  173.  
  174. Got a groovy new name. 
  175.  
  176. CGI quits after 10 minutes of inactivity.  (Grant's work). 
  177.  
  178. Graduated to Alpha testing from Development. 
  179.  
  180. *** 1.0d6 Changes: 
  181.  
  182. One data file and folder per user now.  (just indexes a page inside the file
  183. and increments) 
  184.  
  185. Users' directories are created if they don't already exist.  (only immediate
  186. directories in the same folder as the CGI, nothing like :counters:grgcombs
  187. will work unless those directories already exist) 
  188.  
  189. Big time memory problem fixed.  Wouldn't let you use the counter for more
  190. than 3 times in a row. (Grant's work) 
  191.  
  192. New gif displayed when Counter fails, hinting to the error log.  (note this
  193. is when the CGI fails nicely.) 
  194.  
  195. Problem fixed with denying access when no restriction strings existed. 
  196. About Box icon crashing PPC machines bug fixed.    (Grant's work). 
  197.  
  198. *** 1.0d5 
  199.  
  200. Updated source to be synchronized with Grant's CGI Framework º-X ... (i.e.
  201. More threading, speed increases, etc) 
  202.  
  203. Minor code optimizations. 
  204.  
  205. Compiled into a FAT binary (601, 603, 604 native too)
  206.